/*
 * Copyright 2019 Wicrenet, Inc. All rights reserved.
 */
package com.wise.model.content.enums;

import com.wise.framework.basic.IEnum;

/**
 * 产品上架状态
 * @author shaoming
 * @date 2019-09-06
 */
public enum ProductState implements IEnum<Integer> {
	UP(1, "上架"),

	DOWN(2, "下架");

	private Integer value;
	private String title;

	ProductState(Integer value, String title) {
		this.value = value;
		this.title = title;
	}

	@Override
	public Integer value() {
		return value;
	}

	@Override
	public String title() {
		return title;
	}
}
